package com.ruoyi.business.domain.wecom;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_wecom_tag")
public class TbWecomTag extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 标签id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 企微标签组id
     */
    @TableField("tag_group_id")
    private String tagGroupId;

    /**
     * 企微标签id
     */
    @TableField("tag_id")
    private String tagId;

    /**
     * 标签名称
     */
    @TableField("tag_name")
    private String tagName;

    /**
     * 标签创建时间
     */
    @TableField("tag_create_time")
    private Long tagCreateTime;

    /**
     * 标签排序
     */
    @TableField("tag_order")
    private Long tagOrder;

    /**
     * 标签是否已经被删除，只在指定tag_id/group_id进行查询时返回
     */
    @TableField("tag_deleted")
    private Integer tagDeleted;
}
